<?php

namespace app\modules\admin\controllers;

use app\modules\admin\common\BaseController;

/**
 * Default controller for the `admin` module
 */
class ZuoyeController extends BaseController
{
   //分类
	public function actionCat() {
		$this->layout = 'main';
    	return $this->render('cat');
	}

	//添加分类
	public function actionCatSet() {
		$this->layout = 'main';
    	return $this->render('catSet');
	}

	//作业主页
	public function actionIndex() {
		$this->layout = 'main';
    	return $this->render('index');
	}

	//作业详情
	public function actionInfo() {
		$this->layout = 'main';
    	return $this->render('info');
	}

	//图片
	public function actionImages() {
		$this->layout = 'main';
    	return $this->render('images');
	}

	//添加作业
	public function actionSet() {
		$this->layout = 'main';
    	return $this->render('set');
	}

}
